from django.conf.urls import patterns, include, url
from django.contrib import admin

from spider.views import SearchView, display


admin.autodiscover()

urlpatterns = patterns('',
    url(r'^django-rq/', include('django_rq.urls')),

    url(r'^$', SearchView.as_view(), name='search'),
    url(r'^display/', display, name='display'),

    url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
    url(r'^admin/', include(admin.site.urls)),
)

